﻿<?xml version="1.0" encoding="utf-8" ?>
<mscrmdatasync>
  <source type="server">Url=http://localhost/Vanilla; Domain=mydomain; Username=Administrator; Password=Password1;</source>
  <destination type="file">output.data</destination>
  <query>
    <![CDATA[
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
  <entity name="contact">
    <attribute name="fullname" />
    <attribute name="parentcustomerid" />
    <attribute name="telephone1" />
    <attribute name="emailaddress1" />
    <attribute name="contactid" />
    <attribute name="lastname" />
    <attribute name="firstname" />
    <order attribute="fullname" descending="false" />
    <filter type="and">
      <condition attribute="ownerid" operator="eq-userid" />
      <condition attribute="statecode" operator="eq" value="0" />
    </filter>
  </entity>
</fetch>
  ]]></query>
  <batchsize>10</batchsize>
</mscrmdatasync>
